#!/bin/sh

echo "一条命令杀死端口号"

echo "请输入端口号:"
read params
echo "你输入的参数是$params"
kill -9 $(lsof -i:7001 -t)



# echo "1 : For Test"
# echo "2 : For nohup &"
 
# whiletrue
# do
# echo -n "please enter the number:"
# read params
# echo "$params"
# if[[ $params ="1"]];then
# echo "For Test"
# elif[[ $params ="2"]];then
# echo "For nohup &"
# else
# echo "can not find command"
# fi
# done